package main

import (
	"fmt"
	"sanguo/node/table/mission"
)

func main() {

	mission.Load("../../xml/mission")

	def := mission.GetDef(1005)
	if nil != def {
		awardAction := def.CompleteInfo.ActionEvent
		for _, v := range awardAction {
			fmt.Println(v)
		}
		deliverEvent := def.DeliverInfo.DeliverConditionEvent
		for _, v := range deliverEvent {
			fmt.Println(v)
		}
	}

	fmt.Println(def)
}
